#pragma once

#include "Instruction.h"
#include <iostream>

using namespace std;

class Expression;

class ASSIGN_VARIABLE_Instruction : public Instruction {
public:
	
	ASSIGN_VARIABLE_Instruction(const string& variableName, Expression* assignExpression);
	~ASSIGN_VARIABLE_Instruction();
	
	const string& getVariableName();
	Expression* getVariableExpression();
	
	void setDataHoldersToReferenced();
    
private:
	
	string m_variableName;
	Expression* m_expression;
	
};